
const unsigned short ktm[256]=
{
0x000, //0
0x001, //1
0x001, //2
0x002, //3
0x002, //4
0x003, //5
0x004, //6
0x004, //7
0x005, //8
0x006, //9
0x006, //10
0x007, //11
0x007, //12
0x008, //13
0x009, //14
0x009, //15
0x010, //16
0x011, //17
0x011, //18
0x012, //19
0x012, //20
0x013, //21
0x014, //22
0x014, //23
0x015, //24
0x016, //25
0x016, //26
0x017, //27
0x017, //28
0x018, //29
0x019, //30
0x019, //31
0x020, //32
0x021, //33
0x021, //34
0x022, //35
0x022, //36
0x023, //37
0x024, //38
0x024, //39
0x025, //40
0x025, //41
0x026, //42
0x027, //43
0x027, //44
0x028, //45
0x029, //46
0x029, //47
0x030, //48
0x030, //49
0x031, //50
0x032, //51
0x032, //52
0x033, //53
0x034, //54
0x034, //55
0x035, //56
0x035, //57
0x036, //58
0x037, //59
0x037, //60
0x038, //61
0x039, //62
0x039, //63
0x040, //64
0x040, //65
0x041, //66
0x042, //67
0x042, //68
0x043, //69
0x043, //70
0x044, //71
0x045, //72
0x045, //73
0x046, //74
0x047, //75
0x047, //76
0x048, //77
0x048, //78
0x049, //79
0x050, //80
0x050, //81
0x051, //82
0x052, //83
0x052, //84
0x053, //85
0x053, //86
0x054, //87
0x055, //88
0x055, //89
0x056, //90
0x057, //91
0x057, //92
0x058, //93
0x058, //94
0x059, //95
0x060, //96
0x060, //97
0x061, //98
0x062, //99
0x062, //100
0x063, //101
0x063, //102
0x064, //103
0x065, //104
0x065, //105
0x066, //106
0x066, //107
0x067, //108
0x068, //109
0x068, //110
0x069, //111
0x070, //112
0x070, //113
0x071, //114
0x071, //115
0x072, //116
0x073, //117
0x073, //118
0x074, //119
0x075, //120
0x075, //121
0x076, //122
0x076, //123
0x077, //124
0x078, //125
0x078, //126
0x079, //127
0x080, //128
0x080, //129
0x081, //130
0x081, //131
0x082, //132
0x083, //133
0x083, //134
0x084, //135
0x085, //136
0x085, //137
0x086, //138
0x086, //139
0x087, //140
0x088, //141
0x088, //142
0x089, //143
0x089, //144
0x090, //145
0x091, //146
0x091, //147
0x092, //148
0x093, //149
0x093, //150
0x094, //151
0x094, //152
0x095, //153
0x096, //154
0x096, //155
0x097, //156
0x098, //157
0x098, //158
0x099, //159
0x099, //160
0x100, //161
0x101, //162
0x101, //163
0x102, //164
0x103, //165
0x103, //166
0x104, //167
0x104, //168
0x105, //169
0x106, //170
0x106, //171
0x107, //172
0x107, //173
0x108, //174
0x109, //175
0x109, //176
0x110, //177
0x111, //178
0x111, //179
0x112, //180
0x112, //181
0x113, //182
0x114, //183
0x114, //184
0x115, //185
0x116, //186
0x116, //187
0x117, //188
0x117, //189
0x118, //190
0x119, //191
0x119, //192
0x120, //193
0x121, //194
0x121, //195
0x122, //196
0x122, //197
0x123, //198
0x124, //199
0x124, //200
0x125, //201
0x126, //202
0x126, //203
0x127, //204
0x127, //205
0x128, //206
0x129, //207
0x129, //208
0x130, //209
0x130, //210
0x131, //211
0x132, //212
0x132, //213
0x133, //214
0x134, //215
0x134, //216
0x135, //217
0x135, //218
0x136, //219
0x137, //220
0x137, //221
0x138, //222
0x139, //223
0x139, //224
0x140, //225
0x140, //226
0x141, //227
0x142, //228
0x142, //229
0x143, //230
0x144, //231
0x144, //232
0x145, //233
0x145, //234
0x146, //235
0x147, //236
0x147, //237
0x148, //238
0x149, //239
0x149, //240
0x150, //241
0x150, //242
0x151, //243
0x152, //244
0x152, //245
0x153, //246
0x153, //247
0x154, //248
0x155, //249
0x155, //250
0x156, //251
0x157, //252
0x157, //253
0x158, //254
0x158, //255
};
